package com.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Adepart {
	private String ad_code;
	private String ad_name;
	private String ad_rootcode;
	private String ad_parentcode;
	private String ad_thismemo;

	@Id
	@Column(name = "code")
	public String getAd_code() {
		return ad_code;
	}

	public void setAd_code(String adCode) {
		ad_code = adCode;
	}

	@Column(name = "name")
	public String getAd_name() {
		return ad_name;
	}

	public void setAd_name(String adName) {
		ad_name = adName;
	}

	@Column(name = "rootcode")
	public String getAd_rootcode() {
		return ad_rootcode;
	}

	public void setAd_rootcode(String adRootcode) {
		ad_rootcode = adRootcode;
	}

	@Column(name = "parentcode")
	public String getAd_parentcode() {
		return ad_parentcode;
	}

	public void setAd_parentcode(String adParentcode) {
		ad_parentcode = adParentcode;
	}

	@Column(name = "thismemo")
	public String getAd_thismemo() {
		return ad_thismemo;
	}

	public void setAd_thismemo(String adThismemo) {
		ad_thismemo = adThismemo;
	}
}
